package com.jz.community.moduleshoppingguide.nearshop.bean;

import java.util.List;

/**
 * Created by Tony.Fan on 2018/5/17 14:05
 */
public class NewCartListInfo {

    private String id;
    private int total;
    private PromotionSubtractRuleVOBean promotionSubtractRuleVO;
    private List<CartShopInfo> validGoods;
    private List<CartGoodInfo> invalidGoods;

    public List<CartShopInfo> getValidGoods() {
        return validGoods;
    }

    public void setValidGoods(List<CartShopInfo> validGoods) {
        this.validGoods = validGoods;
    }

    public List<CartGoodInfo> getInvalidGoods() {
        return invalidGoods;
    }

    public void setInvalidGoods(List<CartGoodInfo> invalidGoods) {
        this.invalidGoods = invalidGoods;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public PromotionSubtractRuleVOBean getPromotionSubtractRuleVO() {
        return promotionSubtractRuleVO;
    }

    public void setPromotionSubtractRuleVO(PromotionSubtractRuleVOBean promotionSubtractRuleVO) {
        this.promotionSubtractRuleVO = promotionSubtractRuleVO;
    }

    public static class PromotionSubtractRuleVOBean {
        /**
         * id : 1
         * ruleType : 5
         * levelAmount : 1
         * subtractAmount : 1212
         * promotionId : 2
         */

        private String id;
        private String ruleType;
        private String levelAmount;
        private String subtractAmount;
        private String promotionId;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getRuleType() {
            return ruleType;
        }

        public void setRuleType(String ruleType) {
            this.ruleType = ruleType;
        }

        public String getLevelAmount() {
            return levelAmount;
        }

        public void setLevelAmount(String levelAmount) {
            this.levelAmount = levelAmount;
        }

        public String getSubtractAmount() {
            return subtractAmount;
        }

        public void setSubtractAmount(String subtractAmount) {
            this.subtractAmount = subtractAmount;
        }

        public String getPromotionId() {
            return promotionId;
        }

        public void setPromotionId(String promotionId) {
            this.promotionId = promotionId;
        }
    }

}
